package 继承;

public class FruitTest {
    public static void main(String[] args) {
        Banana banana = new Banana();
        banana.setName("香蕉");
        banana.setArea("楚雄");
        banana.setPrice(2.4);

        banana.sg();
        System.out.println(banana.toString());
    }
}
